public class ReplacementTester
{
   public static void main(String[] args)
   {
      String greeting = "Hello, elite hacker!";
      String modifiedGreeting="";
      for(int i=0;i<greeting.length();i++)
      {
          char m;
          m=greeting.charAt(i);
          if(m=='e') m='3';
          else if(m=='i') m='1';
          else if(m=='l') m='7';
          else if(m=='o') m='0';
          //else if(m=='o') modifiedGreeting.charAt(i)='0';
          //else modifiedGreeting.charAt(i)=m;
          System.out.print(m);
      }
      System.out.println(modifiedGreeting);
      System.out.println("Expected: H3770, 371t3 hack3r!");
   }
}